/* ----------------------------------------------------------------------------
 
    java api for ecco generated applications 
 
    (C)  by PDTec GmbH 2000
   
    This bundle of java classes allows java applications to interact with
	ecco generated applications.

  ----------------------------------------------------------------------------*/

package pdtec.ecco.meta;

import java.lang.Exception;

/** Represents the EXPRESS Real type */
public class EccoReal extends Type {

    /** Protected standard constructor. */
    protected EccoReal(){}

    /** Protected constructor. */
    protected EccoReal(int appId,long typeId) {
	super(appId,typeId);
    } // constructor

    /** Returns Prescision property status.
     * @return the precision of the real value
     * @exception EccoException in case an error occurs
     * /
    public long getPrecision() throws Exception {
	throw(new Exception("getPrecision not implemented yet"));
    } // getPrecision

    /** Finalizes objects of class EccoReal. */
    protected void finalize() {
	try { 
	    // throw (new EccoException("finalizing ..."));
	    if ( appId != -1) 
		delete(); 
	} catch(EccoException e) {
	    System.out.println("EccoException " + e.toString() );
	} 
    } // finalize
    
} // EccoReal
